package com.appbee.gdata.youtube.client.search;

import com.appbee.gdata.youtube.client.search.MediaGroup;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.user.client.ui.SuggestOracle.Suggestion;

public class Entry extends JavaScriptObject implements Suggestion
{
	protected Entry(){}
	public final native String getId() /*-{return this.id.$t;}-*/;
	public final native String getTitle() /*-{ return this.title.$t; }-*/;
	public final native String getContent() /*-{ return this.content.$t; }-*/;
	
	public final native MediaGroup getMediaGroup() /*-{ return this.media$group; }-*/;
	
	@Override
	public final String getDisplayString()
	{
		return getTitle();
	}
	@Override
	public final String getReplacementString()
	{
		return getTitle();
	}
	
	

}
